package com.donleo.student;

import com.donleo.rule.RibbonRuleConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author liangd
 * @since 2021-01-19 18:45
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.donleo.student.mapper")
@RibbonClient(name = "security-server", configuration = RibbonRuleConfig.class)
public class StuApp {
    public static void main(String[] args){
        SpringApplication.run(StuApp.class,args);
    }
}
